From a74a925e23addd5cc40476bda5827ec382a2618b Mon Sep 17 00:00:00 2001
From: Kenimarru <chehami.kamal@mail.com>
Date: Tue, 9 Jan 2024 18:45:34 +0100
Subject: v0.5.0

---
 pages/search/[query].vue | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 pages/search/[query].vue

(limited to 'pages/search/[query].vue')

diff --git a/pages/search/[query].vue b/pages/search/[query].vue
new file mode 100644
index 0000000..42d6fcd
--- /dev/null
+++ b/pages/search/[query].vue
@@ -0,0 +1,8 @@
+<template>
+    <Cards title="Search Result" :description="`Query: ${query}`" :data="data" />
+</template>
+
+<script setup>
+const { query } = useRoute().params
+const { data } = await useFetch("/api/search?query=" + query);
+</script>
\ No newline at end of file
-- 
cgit v1.2.3

